package com.bot.adms.model.entity;

import com.bot.adms.model.bo.AdSpScDetailVideoBo;

/**
 * 广告视频信息实体类
 */
public class AdSpScDetailVideo {
    public AdSpScDetailVideo(AdSpScDetailVideoBo adSpScDetailVideoBo) {
        this.id = adSpScDetailVideoBo.getId();
        this.videoUrl = adSpScDetailVideoBo.getVideoUrl();
        this.totalTime = adSpScDetailVideoBo.getTotalTime();
        this.resolution = adSpScDetailVideoBo.getResolution();
        this.adSpScDetailId = adSpScDetailVideoBo.getAdSpScDetailBo().getId();
    }

    public AdSpScDetailVideo() {
    }

    /**
     * 广告视频信息id
     */
    private Long id;
    /**
     * 视频文件路径
     */
    private String videoUrl;
    /**
     * 视频时长
     */
    private Long totalTime;
    /**
     * 视频分辨率
     */
    private Long resolution;
    /**
     * 广告分屏明细id
     */
    private Long adSpScDetailId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Long getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(Long totalTime) {
        this.totalTime = totalTime;
    }

    public Long getResolution() {
        return resolution;
    }

    public void setResolution(Long resolution) {
        this.resolution = resolution;
    }

    public Long getAdSpScDetailId() {
        return adSpScDetailId;
    }

    public void setAdSpScDetailId(Long adSpScDetailId) {
        this.adSpScDetailId = adSpScDetailId;
    }
}
